﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000313 RID: 787
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class ClockParkHandleWaitOperationScRsp : IMessage<ClockParkHandleWaitOperationScRsp>, IMessage, IEquatable<ClockParkHandleWaitOperationScRsp>, IDeepCloneable<ClockParkHandleWaitOperationScRsp>, IBufferMessage
	{
		// Token: 0x17000A34 RID: 2612
		// (get) Token: 0x06002342 RID: 9026 RVA: 0x00063D83 File Offset: 0x00061F83
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<ClockParkHandleWaitOperationScRsp> Parser
		{
			get
			{
				return ClockParkHandleWaitOperationScRsp._parser;
			}
		}

		// Token: 0x17000A35 RID: 2613
		// (get) Token: 0x06002343 RID: 9027 RVA: 0x00063D8A File Offset: 0x00061F8A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return ClockParkHandleWaitOperationScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000A36 RID: 2614
		// (get) Token: 0x06002344 RID: 9028 RVA: 0x00063D9C File Offset: 0x00061F9C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return ClockParkHandleWaitOperationScRsp.Descriptor;
			}
		}

		// Token: 0x06002345 RID: 9029 RVA: 0x00063DA3 File Offset: 0x00061FA3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ClockParkHandleWaitOperationScRsp()
		{
		}

		// Token: 0x06002346 RID: 9030 RVA: 0x00063DAC File Offset: 0x00061FAC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ClockParkHandleWaitOperationScRsp(ClockParkHandleWaitOperationScRsp other) : this()
		{
			this.pIPPFNJBCIM_ = other.pIPPFNJBCIM_;
			this.jEIAOKMNOMM_ = other.jEIAOKMNOMM_;
			this.retcode_ = other.retcode_;
			this.battleInfo_ = ((other.battleInfo_ != null) ? other.battleInfo_.Clone() : null);
			this.bEBCFIIABLI_ = other.bEBCFIIABLI_;
			this.bOGEALGHKEF_ = other.bOGEALGHKEF_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06002347 RID: 9031 RVA: 0x00063E28 File Offset: 0x00062028
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ClockParkHandleWaitOperationScRsp Clone()
		{
			return new ClockParkHandleWaitOperationScRsp(this);
		}

		// Token: 0x17000A37 RID: 2615
		// (get) Token: 0x06002348 RID: 9032 RVA: 0x00063E30 File Offset: 0x00062030
		// (set) Token: 0x06002349 RID: 9033 RVA: 0x00063E38 File Offset: 0x00062038
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ClockParkPlayStatus PIPPFNJBCIM
		{
			get
			{
				return this.pIPPFNJBCIM_;
			}
			set
			{
				this.pIPPFNJBCIM_ = value;
			}
		}

		// Token: 0x17000A38 RID: 2616
		// (get) Token: 0x0600234A RID: 9034 RVA: 0x00063E41 File Offset: 0x00062041
		// (set) Token: 0x0600234B RID: 9035 RVA: 0x00063E49 File Offset: 0x00062049
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint JEIAOKMNOMM
		{
			get
			{
				return this.jEIAOKMNOMM_;
			}
			set
			{
				this.jEIAOKMNOMM_ = value;
			}
		}

		// Token: 0x17000A39 RID: 2617
		// (get) Token: 0x0600234C RID: 9036 RVA: 0x00063E52 File Offset: 0x00062052
		// (set) Token: 0x0600234D RID: 9037 RVA: 0x00063E5A File Offset: 0x0006205A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x17000A3A RID: 2618
		// (get) Token: 0x0600234E RID: 9038 RVA: 0x00063E63 File Offset: 0x00062063
		// (set) Token: 0x0600234F RID: 9039 RVA: 0x00063E6B File Offset: 0x0006206B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SceneBattleInfo BattleInfo
		{
			get
			{
				return this.battleInfo_;
			}
			set
			{
				this.battleInfo_ = value;
			}
		}

		// Token: 0x17000A3B RID: 2619
		// (get) Token: 0x06002350 RID: 9040 RVA: 0x00063E74 File Offset: 0x00062074
		// (set) Token: 0x06002351 RID: 9041 RVA: 0x00063E7C File Offset: 0x0006207C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint BEBCFIIABLI
		{
			get
			{
				return this.bEBCFIIABLI_;
			}
			set
			{
				this.bEBCFIIABLI_ = value;
			}
		}

		// Token: 0x17000A3C RID: 2620
		// (get) Token: 0x06002352 RID: 9042 RVA: 0x00063E85 File Offset: 0x00062085
		// (set) Token: 0x06002353 RID: 9043 RVA: 0x00063E8D File Offset: 0x0006208D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint BOGEALGHKEF
		{
			get
			{
				return this.bOGEALGHKEF_;
			}
			set
			{
				this.bOGEALGHKEF_ = value;
			}
		}

		// Token: 0x06002354 RID: 9044 RVA: 0x00063E96 File Offset: 0x00062096
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as ClockParkHandleWaitOperationScRsp);
		}

		// Token: 0x06002355 RID: 9045 RVA: 0x00063EA4 File Offset: 0x000620A4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(ClockParkHandleWaitOperationScRsp other)
		{
			return other != null && (other == this || (this.PIPPFNJBCIM == other.PIPPFNJBCIM && this.JEIAOKMNOMM == other.JEIAOKMNOMM && this.Retcode == other.Retcode && object.Equals(this.BattleInfo, other.BattleInfo) && this.BEBCFIIABLI == other.BEBCFIIABLI && this.BOGEALGHKEF == other.BOGEALGHKEF && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06002356 RID: 9046 RVA: 0x00063F34 File Offset: 0x00062134
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.PIPPFNJBCIM != ClockParkPlayStatus.ClockParkPlayNone)
			{
				num ^= this.PIPPFNJBCIM.GetHashCode();
			}
			if (this.JEIAOKMNOMM != 0U)
			{
				num ^= this.JEIAOKMNOMM.GetHashCode();
			}
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.battleInfo_ != null)
			{
				num ^= this.BattleInfo.GetHashCode();
			}
			if (this.BEBCFIIABLI != 0U)
			{
				num ^= this.BEBCFIIABLI.GetHashCode();
			}
			if (this.BOGEALGHKEF != 0U)
			{
				num ^= this.BOGEALGHKEF.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06002357 RID: 9047 RVA: 0x00063FF3 File Offset: 0x000621F3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06002358 RID: 9048 RVA: 0x00063FFB File Offset: 0x000621FB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06002359 RID: 9049 RVA: 0x00064004 File Offset: 0x00062204
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.PIPPFNJBCIM != ClockParkPlayStatus.ClockParkPlayNone)
			{
				output.WriteRawTag(8);
				output.WriteEnum((int)this.PIPPFNJBCIM);
			}
			if (this.battleInfo_ != null)
			{
				output.WriteRawTag(18);
				output.WriteMessage(this.BattleInfo);
			}
			if (this.JEIAOKMNOMM != 0U)
			{
				output.WriteRawTag(40);
				output.WriteUInt32(this.JEIAOKMNOMM);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(80);
				output.WriteUInt32(this.Retcode);
			}
			if (this.BEBCFIIABLI != 0U)
			{
				output.WriteRawTag(88);
				output.WriteUInt32(this.BEBCFIIABLI);
			}
			if (this.BOGEALGHKEF != 0U)
			{
				output.WriteRawTag(112);
				output.WriteUInt32(this.BOGEALGHKEF);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600235A RID: 9050 RVA: 0x000640CC File Offset: 0x000622CC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.PIPPFNJBCIM != ClockParkPlayStatus.ClockParkPlayNone)
			{
				num += 1 + CodedOutputStream.ComputeEnumSize((int)this.PIPPFNJBCIM);
			}
			if (this.JEIAOKMNOMM != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.JEIAOKMNOMM);
			}
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.battleInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.BattleInfo);
			}
			if (this.BEBCFIIABLI != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.BEBCFIIABLI);
			}
			if (this.BOGEALGHKEF != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.BOGEALGHKEF);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600235B RID: 9051 RVA: 0x00064184 File Offset: 0x00062384
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(ClockParkHandleWaitOperationScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.PIPPFNJBCIM != ClockParkPlayStatus.ClockParkPlayNone)
			{
				this.PIPPFNJBCIM = other.PIPPFNJBCIM;
			}
			if (other.JEIAOKMNOMM != 0U)
			{
				this.JEIAOKMNOMM = other.JEIAOKMNOMM;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.battleInfo_ != null)
			{
				if (this.battleInfo_ == null)
				{
					this.BattleInfo = new SceneBattleInfo();
				}
				this.BattleInfo.MergeFrom(other.BattleInfo);
			}
			if (other.BEBCFIIABLI != 0U)
			{
				this.BEBCFIIABLI = other.BEBCFIIABLI;
			}
			if (other.BOGEALGHKEF != 0U)
			{
				this.BOGEALGHKEF = other.BOGEALGHKEF;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600235C RID: 9052 RVA: 0x0006423C File Offset: 0x0006243C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600235D RID: 9053 RVA: 0x00064248 File Offset: 0x00062448
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 40U)
				{
					if (num == 8U)
					{
						this.PIPPFNJBCIM = (ClockParkPlayStatus)input.ReadEnum();
						continue;
					}
					if (num == 18U)
					{
						if (this.battleInfo_ == null)
						{
							this.BattleInfo = new SceneBattleInfo();
						}
						input.ReadMessage(this.BattleInfo);
						continue;
					}
					if (num == 40U)
					{
						this.JEIAOKMNOMM = input.ReadUInt32();
						continue;
					}
				}
				else
				{
					if (num == 80U)
					{
						this.Retcode = input.ReadUInt32();
						continue;
					}
					if (num == 88U)
					{
						this.BEBCFIIABLI = input.ReadUInt32();
						continue;
					}
					if (num == 112U)
					{
						this.BOGEALGHKEF = input.ReadUInt32();
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x04000E5B RID: 3675
		private static readonly MessageParser<ClockParkHandleWaitOperationScRsp> _parser = new MessageParser<ClockParkHandleWaitOperationScRsp>(() => new ClockParkHandleWaitOperationScRsp());

		// Token: 0x04000E5C RID: 3676
		private UnknownFieldSet _unknownFields;

		// Token: 0x04000E5D RID: 3677
		public const int PIPPFNJBCIMFieldNumber = 1;

		// Token: 0x04000E5E RID: 3678
		private ClockParkPlayStatus pIPPFNJBCIM_;

		// Token: 0x04000E5F RID: 3679
		public const int JEIAOKMNOMMFieldNumber = 5;

		// Token: 0x04000E60 RID: 3680
		private uint jEIAOKMNOMM_;

		// Token: 0x04000E61 RID: 3681
		public const int RetcodeFieldNumber = 10;

		// Token: 0x04000E62 RID: 3682
		private uint retcode_;

		// Token: 0x04000E63 RID: 3683
		public const int BattleInfoFieldNumber = 2;

		// Token: 0x04000E64 RID: 3684
		private SceneBattleInfo battleInfo_;

		// Token: 0x04000E65 RID: 3685
		public const int BEBCFIIABLIFieldNumber = 11;

		// Token: 0x04000E66 RID: 3686
		private uint bEBCFIIABLI_;

		// Token: 0x04000E67 RID: 3687
		public const int BOGEALGHKEFFieldNumber = 14;

		// Token: 0x04000E68 RID: 3688
		private uint bOGEALGHKEF_;
	}
}
